public class LingXing {
    public static void main(String[] args) {
        int n;
        for (int i=0;i<=4;i++){
            for (int j=0;j<=4-i;j++){
                System.out.print(" ");
            }
            for (int k=1;k<=2*i+1;k++){
                System.out.print("*");
            }
            System.out.println();
        }
        for (int m=4;m>=4;m--){
            for (int k=4-m;k>=0;k--){
                System.out.print(" ");
            }
            for (int l=4;l<=2*m+1;l++){
                System.out.print("*");
            }
            System.out.println();
        }
    }
}
